package com.yfp.operation.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 客户健康餐饮记录
 * @TableName client_health_log
 */
@TableName(value ="client_health_log")
@Data
public class ClientHealthLog implements Serializable {
    /**
     * 主键
     */
    @TableId
    private Long id;

    /**
     * 订单详情order_list ID
     */
    @Schema(description = "订单详情order_list ID")
    private String orderListId;

    /**
     * 重量（g）
     */
    @Schema(description = "重量（g）")
    private Integer weight;

    /**
     * 热量（kcal）
     */
    @Schema(description = "热量（kcal）")
    private Integer kcal;

    /**
     * 蛋白质
     */
    @Schema(description = "蛋白质")
    private String protein;

    /**
     * 脂肪
     */
    @Schema(description = "脂肪")
    private String fat;

    /**
     * 碳水化合物
     */
    @Schema(description = "碳水化合物")
    private String carbohydrate;

    /**
     * 状态0未开启1已开启
     */
    @Schema(description = "状态0未开启1已开启")
    private Integer status;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}